<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="de">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="created" content="2018-10-23T06:18:10.521000000">
    <meta name="changed" content="2020-06-26T10:59:00.126200000">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Language" content="de">
    <title>
      Pin
    </title>
   </head>
  <body>
    <div class="maindiv">
      <h1>
        <img class="iconlibs" src="../../../../icons/6464/pininput.png" alt="#########" width="32" height="32">&nbsp;
		<img class="iconlibs" src="../../../../icons/6464/pinoutput.png" alt="#########" width="32" height="32">&nbsp;<em>Pin</em>
      </h1>
    <table>
      <tbody>
        <tr>
          <td>
            <strong>Bibliothek:</strong>
          </td>
          <td>
            <a href="index.html">Base</a>
          </td>
        </tr>
        <tr>
          <td>
            <strong>Eingeführt:</strong>
          </td>
          <td>
            2.0 Beta 1
          </td>
        </tr>
        <tr>
          <td valign="top">
            <strong>Aussehen:</strong>
          </td>
          <td valign="top">
            <img src="../../../../img-libs/pin.png" width="101" height="51" alt="#########">
          </td>
        </tr>
      </tbody>
    </table>
    <h2>
      Verhalten
    </h2>
    <p>
      A pin is an output or an input to a circuit, depending on the value of its Type attribute. In drawing a pin, Logisim represents output pins using a circle or rounded rectangle, and input pins are represented using squares or rectangles. In either case, the individual bits of the value being sent or received is displayed within the component (except within printer view, when the component only says how many bits wide the pin is).
    </p>
    <p>
      A pin is a convenient component for interacting with a circuit, and beginning Logisim users need not use them in any other way. But a user building a circuit using several subcircuits (as described in the `<a href="../../guide/subcirc/index.html">Subcircuits</a>' section of the <em>User's Guide</em>) will use pins also to specify the interface between a circuit and a subcircuit. In particular, a circuit layout's pin components define the pins that appear on the subcircuit component when the layout is used within another circuit. In such a circuit, the values sent and received to those locations on the subcircuit component are tied to the pins within the subcircuit layout.
    </p>
    <h2>
      Pins
    </h2>
    <p>
      A pin component has only one pin, which will be an input to the component if the pin is an output pin, and it will be an output to the component if the pin is an input pin. In either case, its bit width matches the Data Bits attribute, and its location is specified by the Facing attribute.
    </p>
    <h2>
      Attribute
    </h2>
    <p>
      When the component is selected or being added, Alt-0 through Alt-9 alter its <q>Data Bits</q> attribute, the arrow keys alter its <q>Facing</q> attribute, and Alt with an arrow key alters its <q>Label Location</q> attribute.
    </p>
    <dl>
      <dt>
        Ausrichtung
      </dt>
      <dd>
        The side of the component where its input/output pin should be.
      </dd>
      <dt>
        Type
      </dt>
      <dd>
        Specifies whether the component is an output pin or an input pin. (Note that if the pin component is an input pin, then the pin that acts as its interface within the circuit will be an output, and vice versa.)
      </dd>
      <dt>
        Data Bits
      </dt>
      <dd>
        The number of bits for the value that the pin handles.
      </dd>
      <dt>
        Behavior
      </dt>
      <dd>
        The <b class="propertie">Behavior</b> attribute is only available for an input pin. The attribute specifies how unknown (floating), <b class="uvalue">U</b>, values should be treated. If the <b class="propertie">Behavior</b> is Simple or Tri-state, the <b class="uvalue">U</b> values are sent into the layout as <b class="uvalue">U</b> values. Pull Up converts <b class="uvalue">U</b> values to <b class="unov">1</b> before being sent into the circuit layout. Pull Down converts <b class="uvalue">U</b> values to <b class="zerov">0</b> before being sent into the circuit layout.
        <br><br>
        The <b class="propertie">Behavior</b> attribute also specifies what values may be entered into the pin when it is not receiving a value from a parent circuit. Tri-state allows you to enter <b class="uvalue">U</b> values. The other settings do not allow you to enter <b class="uvalue">U</b> values.
      </dd>
      <dt>
        Label
      </dt>
      <dd>
        The text within the label associated with the component.
      </dd>
      <dt>
        Label Location
      </dt>
      <dd>
        The location of the label relative to the component.
      </dd>
      <dt>
        Label Font
      </dt>
      <dd>
        The font with which to render the label.
      </dd>
      <dt>
        Radix
      </dt>
      <dd>
        Allows you to define the base in which the values will be represented.<br>
        Example for 1010 in binary<br>
        &emsp;Binary&emsp;: <b>1010<sub>b</sub></b><br>
        &emsp;Octal&emsp;: <b>12<sub>o</sub></b><br>
        &emsp;Signed decimal&emsp;: <b>-6<sub>s</sub></b><br>
        &emsp;Unsigned decimal&emsp;: <b>10<sub>u</sub></b><br>
        &emsp;Hexadecimal&emsp;: <b>A<sub>h</sub></b><br>
        &emsp;Float&emsp;: <b>6.0E-07<sub>f</sub> </b>&emsp;if bit width is 16<br>
        &emsp;Float&emsp;: <b>1.4E-44<sub>f</sub> </b>&emsp;if bit width is 32<br>
        &emsp;Float&emsp;: <b>4.9E-323<sub>f</sub> </b>&emsp;if bit width is 64<br>
        &emsp;Float&emsp;: <b>NaN<sub>f</sub> </b>&emsp;if bit width is not 16, 32 or 64
      </dd>
      <dt>
        Appearance
      </dt>
      <dd>
        There are two types of appearance, Classic Logisim and Arrow Shapes. See the examples at the top of the page
      </dd>
      <dt>
        Reset Value
      </dt>
      <dd>
        An input pin may be given a reset value if it does not have the Tri-state Behavior. The reset value is given as a hexadecimal value. It is loaded into the pin on a simulator reset. If the input pin has Tri-state Behavior, it is loaded with all unknown (floating), <b class="uvalue">U</b>, bits on a reset.
      </dd>
    </dl>
    <h2>
      Verhalten des Schaltwerkzeugs
    </h2>
    <p>
      Clicking an output pin has no effect, although the pin's attributes will be displayed.
    </p>
    <p>
      Clicking an input pin will toggle the bit that is clicked. If it is a three-state pin, then the corresponding bit will rotate between the three states.
    </p>
    <p>
      If, however, the user is viewing the state of a subcircuit as described in the `<a href="../../guide/subcirc/sub-debug.html">Debugging Subcircuits</a>' of the <em>User's Guide</em>, then the pin's value is pinned to whatever value the subcircuit is receiving from the containing circuit. The user cannot change the value without breaking this link between the subcircuit's state and the containing circuit's state, and Logisim will prompt the user to verify that breaking this link is actually desired.
    </p>
    <h2>
      Verhalten des Textwerkzeugs
    </h2>
    <p>
      Allows the label associated with the component to be edited.
    </p>
    <p>
      <a href="../index.html">Zurück zur <em>Bibliotheksreferenz</em></a>
    </p>
	</div>
  </body>
</html>
